package com.gitee.xmhzzz.device.service.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.xmhzzz.device.service.domain.DeviceEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * @ClassName DeviceBaseInfo
 * @Description
 * @Author wzq
 * @Date 2024/7/14 13:35
 * @Version 1.0
 */
@Getter
@Setter
@ToString
@TableName("device_base_info")
@Schema(defaultValue = "DeviceBaseInfo对象", description = "设备基础表")
public class DeviceBaseInfo {

    @Schema(description = "id")
    private Long id;

    @Schema(description = "设备Id")
    private String deviceId;

    @Schema(description = "产品key")
    private String productKey;

    @Schema(description = "设备名称")
    private String deviceName;

    @Schema(description = "激活时间")
    private LocalDateTime activationTime;

    @Schema(description = "最后上线时间")
    private LocalDateTime lastOnlineTime;

    @Schema(description = "在线状态")
    private Integer online;

    @Schema(description = "状态，1启用，0禁用")
    private Integer state;

    @Schema(description = "产品说明")
    private String  desc;

    @Schema(description = "连接信息")
    private String connectInfo;

    @Schema(description = "客户端信息")
    private String clientInfo;

    @Schema(description = "设备扩展信息")
    private String deviceExpand;

    @Schema(description = "设备属性信息")
    private String property;

    @Schema(description = "设备标签信息")
    private String deviceTag;

    @Schema(description = "品牌归属")
    private String brand;

    @Schema(description = "商户归属")
    private String merchantId;

    @Schema(description = "商户归属父级")
    private String  merchantParent;

    @Schema(description = "创建人")
    private String  createBy;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "修改人")
    private String updateBy;

    @Schema(description = "修改时间")
    private LocalDateTime updateTime;
}
